package org.jimmy.tang.spring.transaction;

import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author jimmy
 * 
 */
@Transactional
@Component("userDao")
public class UserDaoImpl implements UserDao {

    /* (non-Javadoc)
     * @see org.jimmy.tang.spring.transaction.UserDao#transfer(long, long, double)
     */
    @Override
    public boolean transfer(long fromId, long toId, double amount) {

        return true;
    }

}
